package com.baizhi.service;

import com.baizhi.entity.City;
import com.baizhi.entity.Tag;

import java.util.List;

public interface CityService {

    //查询寻所有
    public List<City> queryAll();

    //删除一条数据
    public void deleteById(int id);

    //插入一条数据
    public void insertCity(City city);

    //分页查询
    public List<City> queryByPage(int pageNumber);

    //获取总页数
    public int getTotalPage();

}
